package com.zoweunion.mechanic.dao;

import com.zoweunion.mechanic.entity.TSBdCarDevRelationEntity;
import com.zoweunion.mechanic.entity.TSSsVehicleModelEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface WirelessDeviceDao {

    List<Map<String, Object>> selectManagerListByDeviceId(@Param("deviceId") String deviceId);

    Map<String, Object> selectDeviceInfoByDeviceId(@Param("deviceId") String deviceId);

    List<TSBdCarDevRelationEntity> queryPage(Map<String, Object> params);

    int updateDeviceNoByCarIdType(@Param("carId") String carId, @Param("type") String type,@Param("devIdNo") String devIdNo);

    int insertDeviceNo(Map<String, Object> map);
}
